DataCollection | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / C1DataCollection<T> Class / LoadAsync Method
The starting index, if not specified this will be 0.
The starting index, if not specified this will be Count.
The cancellation token.

In This Topic
    LoadAsync Method (C1DataCollection<T>)
    In This Topic
    Load the items between the specified indexes.
    Syntax
    'Declaration
     
    Public Overridable Function LoadAsync( _
       Optional ByVal fromIndex As Nullable(Of Integer), _
       Optional ByVal toIndex As Nullable(Of Integer), _
       Optional ByVal cancellationToken As CancellationToken _
    ) As Task
    public virtual Task LoadAsync( 
       Nullable<int> fromIndex,
       Nullable<int> toIndex,
       CancellationToken cancellationToken
    )

    Parameters

    fromIndex
    The starting index, if not specified this will be 0.
    toIndex
    The starting index, if not specified this will be Count.
    cancellationToken
    The cancellation token.
    See Also